﻿<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>保护自己的网页不被放入框架</title>
  <script type="text/javascript" language="JavaScript">
    if(self !== top){
      top.location=self.location;    //判断是否是最顶层，不是则将当前页设置为最顶层
    }
  </script>
</head>
<body>

</body>
</html>